package com.clds.kotlinforbusinesslisting.component

import android.app.Application
import com.clds.kotlinforbusinesslisting.activity.MainActivity
import com.clds.kotlinforbusinesslisting.base.BaseApplication
import com.clds.kotlinforbusinesslisting.module.ApplicationModel
import dagger.Component
import dagger.Module
import javax.inject.Singleton

/**
 * Created by zhiweijin on 17-6-28.
 */

@Singleton
@Component(modules= arrayOf(ApplicationModel::class))
interface BaseComponent{

     fun inject(application: BaseApplication)
     fun inject(application: MainActivity)
}
